﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PhotoGallery.Infrastructure.Collections;

namespace PhotoGallery.Core.Business
{
    public class OperationIndexModel
    {

        #region Field & Property

        public OperationSearch Search { get; set; }
        public PagedList<Core.Business.Operation> Operations { get; set; }

        #endregion

        #region Constructor
        public OperationIndexModel() { }

        #endregion

    }

    public class OperationSearch
    {
        public string Name { get; set; }
        public string ControllerName { get; set; }
        public string ActionName { get; set; }
        public int? PageIndex { get; set; }
        public int? PageSize { get; set; }
        public int? Status { get; set; }
    }
}
